home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / sgml / sgml2latex-format.1.3.tar.Z / sgml2latex-format.1.3.tar / CHANGES next >
Text File  |  1993-03-16  |  11KB  |  244 lines

  1. <!doctype qwertz system>
  2. <article>
  3. <title> Format Changes History
  4. <author> Tom Gordon
  5.  
  6. <sect>Version 1.1  (September, 1991)
  7.  
  8. <enum>
  9. <item> nroff/troff support added.   See the man page for format.
  10.  
  11. <item> Modified set of character and symbol entities to be the
  12. intersection of TeX and PostScript and Latin 1.  There are now many
  13. more entities as a result, but a few math entities have been deleted.
  14. They may still be generated using the x element.
  15.  
  16. <item> Fixed the appendix element.
  17.  
  18. <item> Tabulars may now be used alone, anywhere a paragraph is allowed,
  19. and not merely within tables.   Tabulars, when used alone, remain in
  20. the same location in the formatted text as in the SGML source.
  21. Tables, on the other hand, are floating elements, like figures.  Also,
  22. tables, but not tabulars, may have a caption.
  23.  
  24. <item> Added a "notes" top-level element.  Simple document style
  25. consisting of an optional title followed by a sequence of section
  26. paragraphs.  No footnotes.
  27.  
  28. <item> ref, pageref, cite and ncite are now all inline elements.  They can
  29. be used anywhere f, x, em, it, ... can be used, and not just inside of
  30. paragraphs.  For example, a tag of a descrip element can now
  31. include a cite.
  32.  
  33. <item> Changed name of latex DTD to qwertz to avoid confusion with
  34. LaTeX.  This is upwardsly compatible so long as documents did not use
  35. latex tags explicitly.  (The latex start and end tags were optional.)
  36.  
  37. <item> There is no longer a manpage DTD.  Instead, there is a new
  38. manpage top-level element in the qwertz DTD.  Use the format command
  39. to process manpages, just as with other document types.  There is a
  40. "man" translation for nroff man macros.  It could be used like this:
  41. <verb>
  42.     format -T man ls.sgml | nroff -man | more
  43. </verb>
  44.  
  45. <item> The syntax of the article, report and book elements has been
  46. changed to allow a sequence of section paragraphs (i.e. %sectpar
  47. elements) to precede any sections (or chapters).  This is useful for
  48. short documents, for which no sections are desired, or for a preface.
  49.  
  50. <item> As format now includes a translation into nroff/troff, as well as
  51. TeX, the TeX specific parts of the format command have been factored
  52. out and put into a new command, qtex.  See the format and qtex man
  53. pages.  To print a qwertz document containing bibliography references,
  54. using LaTeX, now type:
  55. <verb>
  56.     format foo | qtex -b | lpr
  57. </verb>
  58.  
  59. <item> The letter element has been changed so as to make it easier to
  60. generate electronic messages, as well as print ordinary letters.  The
  61. cc field has been moved from after the closing to just after the from
  62. field.  The name field has been replaced by pcdata.  The address field
  63. is now optional.  Both the (street) address and email fields are now
  64. optional.  It is the users responsibility to include at least one of
  65. them, where appropriate.  (We haven't required at least one of these
  66. to be stated, as no address is required for the sender when using
  67. office stationary.)  See the manual for details.  The examples have
  68. been fixed to use the new format.
  69. </enum>
  70.  
  71. <sect> Version 1.2 (December, 1991)
  72.  
  73. <enum>
  74. <item> Jim Clark's SGMLS parser is now used, instead of ASP.  SGMLS
  75. implements more of the SGML standard than ASP.  In particular, it
  76. supports the subdoc feature.  It also appears to have fewer bugs.  All
  77. of the shortref characters of the reference syntax are supported.
  78. Pre- and post-processing with sed scripts, required to get around this
  79. ASP bug, is no longer necessary.  Also, as DTD's do not need to be
  80. compiled by SGMLS, it is now possible to include different versions of
  81. files containing system data entities (for non-ascii characters and
  82. symbols), in the qwertz DTD, one for each formatter, without having to
  83. maintain multiple versions of the DTD, and without having to resort to
  84. post-processing using sed scripts, as in the past.
  85.  
  86. <item> As blank lines can now be used as short references, the DTD has
  87. been modified to make the explicit use of paragraph start and end tags
  88. almost completely superfluous.  In particular, it is no longer
  89. necessary to type the <tt/p/ tag after the <tt/item/ tag of a list.  The
  90. change is upwardsly compatible.   The examples in the manual have been
  91. changed accordingly.   One of the few places where a <tt/p/ tag is
  92. required, is for the first paragraph appearing before the first
  93. section of an article, or chapter of a book.  There may be some way to
  94. modify the DTD to avoid this.
  95.  
  96. <item> The various kinds of "paragraphs", such as lists, literate
  97. programming paragraphs, tables, and figures, must all now be within a
  98. <tt/p/ element.  However, due to minimization, the <tt/p/ start and end tags
  99. almost never need to be typed explictly, as mentioned above.
  100. Further, these other types of "paragraphs" can now be embedded within the
  101. text of an ordinary paragraph.  A new paragraph is started,
  102. implicitly, by a blank line, as in TeX.  To embed one of these other
  103. elements, such as a segment of code, just be sure not to leave a blank
  104. line before or after the code tags.  For example:
  105.  
  106. <verb>
  107. <p>Here is some code embedded within a paragraph:
  108. <code>
  109. main() {
  110.     printf ("hello world\n");
  111. }
  112. &etago;code>
  113. This is the continuation of the same paragraph.
  114.  
  115. And this is a new paragraph.
  116. </verb>
  117.  
  118. <item>There is no longer an include option in the format command.  You
  119. can easily include files using SGML file or subdoc entities.
  120.  
  121. <item>Nor is there the <tt/-n/ option, for declaring that the document
  122. does not contain formulas.  Users tended to forget this option (I
  123. certainly did), as was only necessary when using one of the <tt/nroff/
  124. formatters.  Instead, there is now a <tt/qroff/ command, which is a
  125. front-end to <tt/groff/.  It is especially suitable for use in
  126. conjunction with format.  See the manual page for details.
  127.  
  128. <item> In the mapping into TeX, qwertz specific macros are no longer
  129. added to the head of each file.  Rather, these are contained in a
  130. qwertz.sty file, which referenced in the list of document options.
  131. The disadvantage of this is that you must remember to send this file
  132. along with your LaTeX document, when sending someone the LaTeX version
  133. of your file.  Alternatively, you can also paste these (few) macros
  134. into the beginning of the TeX version of your document, and remove the
  135. reference to the qwertz sty file.  The advantage of this new approach
  136. is that chapters of a book or report can be maintained in separate
  137. files, and included in the complete document using the SGML subdoc
  138. feature.  With the previous approach, TeX complained that the macros
  139. where redefined, at each point where the subdocument was inserted into
  140. the main document.  The problem of printing single chapters remains.
  141.  
  142. <item>Each document must now include an SGML
  143. doctype declaration, at the beginning, such as:
  144.  
  145. <verb>
  146. <!doctype qwertz system>
  147. </verb>
  148. If you define any document specific entities, they are placed between
  149. &lsqb and &rsqb brackets, as follows:
  150. <verb>
  151. <!doctype qwertz system 
  152. [
  153. <!entity foo sdata "\foo">
  154. <!entity bar sdata "\bar>
  155. ]>
  156. </verb>    
  157.  
  158. This is all just standard SGML, but was not properly handled by ASP.
  159. (<tt/biblio/ documents should be declared analogously.)  Author/Editor
  160. generates such headers, which I used to have to filter out of the
  161. document before processing it using ASP.  This should no longer be
  162. necessary.  
  163.  
  164. <item> The procedure for creating your own formats has changed slightly. 
  165. Mapping files in ASP format may still be used, thanks to James Clark.
  166. However, the translation of character entities is now controlled by
  167. SGML files containing system data definitions, rather than sed scripts.
  168. See the manual page for format for details.
  169.  
  170. <item> The <tt/stitle/ and <tt/ntitle/ tags, for the titles of slides
  171. and notes, have been eliminated.  Use the <tt/title/ tag instead.
  172. Although this change is not upwardsly compatible, it is a minor change
  173. in the interest of conceptual clarity.  There is now only one element
  174. for titles, instead of three.
  175.  
  176. <item> Added a <tt/fax/ document style, comparable to the letter
  177. style, for Telefax messages.  There is an attribute for providing the
  178. number of pages of the fax, including the cover page.  I assumed that
  179. most fax messages are one page long, not including the cover page, so
  180. the default value of this attribute is 2.
  181.  
  182. <item> There is also a <tt/fax/ Unix command, to be used in a pipe.
  183. If there is a fax message named "foo", the command could be used as
  184. follows:
  185. <verb>
  186. $ format foo | qtex | fax 
  187. </verb>
  188. See the manual page entry for further details.
  189.  
  190. <item> The <tt/biblio/ DTD has been extended to allow emphasis, using
  191. as <tt/em/, <tt/bf/ and so on, within most fields.
  192.  
  193. </enum>
  194.  
  195. <sect> Version 1.3 (February, 1992)
  196.  
  197. <enum>
  198. <item> The <tt/biblio/ DTD has been modified so as to allow the fields
  199. of entries to be entered in any order, using SGML "and" groups.  This
  200. is an upwards compatible change.  It makes it much easier to translate
  201. existing BibTeX bibliographies into SGML.
  202.  
  203. <item> A <tt/-c/ option has been added to <tt/qtex/ for processing
  204. single chapters or sections with &LaTeX generated by <tt/format/.  The
  205. problem with cross reference between chapters of a report or book
  206. stored in separate files has also been solved.   <tt/sgmls/ warns
  207. issues a warning, rather than terminating.  
  208.  
  209. <item> The translation of slides into LaTeX no longer uses SliTeX.
  210. Instead, the LaTeX article style is used, with a larger point size.
  211. This makes it possible to include anything on a slide that can be
  212. included in a paragraph of an article.
  213.  
  214. <item> An optional <tt/date/ element has been added to title pages.
  215. Oddly, it is usually used to suppress the printing of a date, by
  216. adding an empty date element.  By default, when no date element is
  217. used, today's date is printed.  This conforms to the &LaTeX
  218. convention.
  219.  
  220. <item> The <tt/table/ and <tt/figure/ elements now have a <tt/loc/
  221. attribute, for declaring allowed locations:  here (<tt/h/), top
  222. (<tt/t/), bottom (<tt/b/), or on a separate page (<tt/p/).  This
  223. should be used in figures and tables on slides, to keep them from 
  224. floating.
  225.  
  226. <item> There is a new type of list, called simply <tt/list/.  The 
  227. items have no label.  This is useful for fancy formatting of computer 
  228. code, for example.  Key words can be bold face.  There can be
  229. mathematical expressions in boolean tests, and so on.
  230.  
  231. <item> Added an -l option to qroff, to generate latin1.  As the "col
  232. -b" filter for removing backspaces also filters out non-ASCII
  233. characters, backspaces (used by groff for bold formatting) are not
  234. filtered out when this option is chosen.
  235.  
  236. <item> Added an -r <replacement file> option to the format command.
  237. Replacements in the default replacement file can be overridden using
  238. this mechanism.   Only the replacements for the start or end tags
  239. which differ from the default need to be specified in this file.
  240.  
  241. </enum>
  242.  
  243.  
  244. </article>